package org.deng.learn.designpattern.memento;

/**
 * @Author DengLibin
 * @Date 19-5-5
 * @Time 上午11:03
 * @Desc 备忘录类
 */
public class Memento {

    private String state;//要保存的状态(可以有多个　可以有多个类型)

    public Memento(String state){
        this.state = state;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
